QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Components/Curve/Sin.c \
    Components/Curve/engine3d.c \
    Components/Curve/hsv.c \
    Components/Draw/drawdiagram.cpp \
    Components/Effects/Bloom/Bloom.cpp \
    Components/Effects/BouncingBall/BouncingBallEffect.cpp \
    Components/Effects/BouncingBall/BouncingBallSimulation.cpp \
    Components/Effects/Breathing/Breathing.cpp \
    Components/Effects/BreathingCircle/BreathingCircle.cpp \
    Components/Effects/Bubbles/Bubbles.cpp \
    Components/Effects/ColorWheelEffect/ColorWheelEffect.cpp \
    Components/Effects/Comet/Comet.cpp \
    Components/Effects/ControllerZone.cpp \
    Components/Effects/CrossingBeams/CrossingBeams.cpp \
    Components/Effects/CustomGradientWave/CustomGradientWave.cpp \
    Components/Effects/DoubleRotatingRainbow/DoubleRotatingRainbow.cpp \
    Components/Effects/Fill/Fill.cpp \
    Components/Effects/FractalMotion/FractalMotion.cpp \
    Components/Effects/GradientWave/GradientWave.cpp \
    Components/Effects/Hypnotoad/Hypnotoad.cpp \
    Components/Effects/Lightning/Lightning.cpp \
    Components/Effects/Marquee/Marquee.cpp \
    Components/Effects/Mosaic/Mosaic.cpp \
    Components/Effects/MotionPoint/MotionPoint.cpp \
    Components/Effects/MotionPoints/MotionPoints.cpp \
    Components/Effects/MovingPanes/MovingPanes.cpp \
    Components/Effects/NoiseMap/NoiseMap.cpp \
    Components/Effects/RGB_Slave/RGB_Slave.c \
    Components/Effects/RGB_Slave/RGB_SlaveDispose.c \
    Components/Effects/RGB_Slave/RGB_Slave_Test.c \
    Components/Effects/RadialRainbow/RadialRainbow.cpp \
    Components/Effects/Rain/Rain.cpp \
    Components/Effects/RainbowWave/RainbowWave.cpp \
    Components/Effects/RotatingBeam/RotatingBeam.cpp \
    Components/Effects/RotatingBeam/RotatingBeamRemodel.cpp \
    Components/Effects/RotatingRainbow/RotatingRainbow.cpp \
    Components/Effects/Spiral/Spiral.cpp \
    Components/Effects/cledMatrix/Rotation.cpp \
    Components/Effects/SmoothBlink/SmoothBlink.cpp \
    Components/Effects/SpectrumCycling/SpectrumCycling.cpp \
    Components/Effects/Stack/Stack.cpp \
    Components/Effects/StarryNight/StarryNight.cpp \
    Components/Effects/Sunrise/Sunrise.cpp \
    Components/Effects/Swap/Swap.cpp \
    Components/Effects/SwirlCircles/SwirlCircles.cpp \
    Components/Effects/Visor/Visor.cpp \
    Components/Effects/Wavy/Wavy.cpp \
    Components/Effects/ZigZag/ZigZag.cpp \
    Components/Effects/cledMatrix/cledMatrix.cpp \
    Components/Effects/cledMatrix/cledMatrixAngle.c \
    Components/Effects/cledMatrix/cledMatrixAngleLimit.c \
    Components/Effects/cledMatrix/cledMatrixRGB.c \
    Components/Effects/cledMatrix/cledMatrixRGB_Advanced.c \
    Components/Effects/cledMatrix/cledMatrixRGB_Beams.c \
    Components/Effects/cledMatrix/cledMatrixRGB_Rainbow.c \
    Components/Effects/cledMatrix/cledMatrixRGB_Random.c \
    Components/Effects/cledMatrix/cledMatrixRGB_Simple.c \
    Components/Effects/kbRGB/SimplexNoises.c \
    Components/Effects/kbRGB/kbRGB.c \
    Components/Effects/kbRGB/kbRGB_Advanced.c \
    Components/Effects/kbRGB/kbRGB_Angle8bit.c \
    Components/Effects/kbRGB/kbRGB_AngleLimit.c \
    Components/Effects/kbRGB/kbRGB_Beams.c \
    Components/Effects/kbRGB/kbRGB_Rainbow.c \
    Components/Effects/kbRGB/kbRGB_Random.c \
    Components/Effects/kbRGB/kbRGB_Simple.c \
    Components/Effects/kbRGB/kbRGB_Sin.c \
    Components/Effects/kbRGB_Int/SimplexNoises_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Advanced_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Angle_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Beams_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Rainbow_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Random_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_Simple_Int.c \
    Components/Effects/kbRGB_Int/kbRGB_XY2Angle.c \
    Components/LCD/lcd.c \
    Components/Thread/rgb_thread.cpp \
    Components/Thread/rgb_thread_keyboard.cpp \
    Components/Thread/rgb_thread_matrix.cpp \
    Components/UGUI/ugui.c \
    Components/cledMatrix/cledMatrixRGBView.c \
    Components/cledMatrix/crgbMatrix.c \
    Components/mThread/mThread.cpp \
    Dependencies/SimplexNoise/src/SimplexNoise.cpp \
    UI/formlcd.cpp \
    UI/formmasks.cpp \
    UI/formslave.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    Components/Curve/Curve.h \
    Components/Curve/hsv.h \
    Components/Draw/drawdiagram.h \
    Components/Effects/Bloom/Bloom.h \
    Components/Effects/BouncingBall/BouncingBallEffect.h \
    Components/Effects/BouncingBall/BouncingBallSimulation.h \
    Components/Effects/Breathing/Breathing.h \
    Components/Effects/BreathingCircle/BreathingCircle.h \
    Components/Effects/Bubbles/Bubbles.h \
    Components/Effects/ColorWheelEffect/ColorWheelEffect.h \
    Components/Effects/Comet/Comet.h \
    Components/Effects/ControllerZone.h \
    Components/Effects/CrossingBeams/CrossingBeams.h \
    Components/Effects/CustomGradientWave/CustomGradientWave.h \
    Components/Effects/DoubleRotatingRainbow/DoubleRotatingRainbow.h \
    Components/Effects/Effects.h \
    Components/Effects/Fill/Fill.h \
    Components/Effects/FractalMotion/FractalMotion.h \
    Components/Effects/GradientWave/GradientWave.h \
    Components/Effects/Hypnotoad/Hypnotoad.h \
    Components/Effects/Lightning/Lightning.h \
    Components/Effects/Marquee/Marquee.h \
    Components/Effects/Mosaic/Mosaic.h \
    Components/Effects/MotionPoint/MotionPoint.h \
    Components/Effects/MotionPoints/MotionPoints.h \
    Components/Effects/MovingPanes/MovingPanes.h \
    Components/Effects/NoiseMap/NoiseMap.h  \
    Components/Effects/RGBEffect.h \
    Components/Effects/RGB_Slave/RGB_Slave.h \
    Components/Effects/RadialRainbow/RadialRainbow.h \
    Components/Effects/Rain/Rain.h \
    Components/Effects/RainbowWave/RainbowWave.h \
    Components/Effects/RotatingBeam/RotatingBeam.h \
    Components/Effects/RotatingBeam/RotatingBeamRemodel.h \
    Components/Effects/RotatingRainbow/RotatingRainbow.h \
    Components/Effects/Spiral/Spiral.h \
    Components/Effects/cledMatrix/Rotation.h \
    Components/Effects/SmoothBlink/SmoothBlink.h \
    Components/Effects/SpectrumCycling/SpectrumCycling.h \
    Components/Effects/Stack/Stack.h \
    Components/Effects/StarryNight/StarryNight.h \
    Components/Effects/Sunrise/Sunrise.h \
    Components/Effects/Swap/Swap.h \
    Components/Effects/SwirlCircles/SwirlCircles.h \
    Components/Effects/Visor/Visor.h \
    Components/Effects/Wavy/Wavy.h \
    Components/Effects/ZigZag/ZigZag.h \
    Components/Effects/cledMatrix/cledMatrix.h \
    Components/Effects/cledMatrix/cledMatrixAngle.h \
    Components/Effects/cledMatrix/cledMatrixRGB.h \
    Components/Effects/kbRGB/SimplexNoises.h \
    Components/Effects/kbRGB/kbRGB.h \
    Components/Effects/kbRGB/kbRGB_Angle.h \
    Components/Effects/kbRGB_Int/SimplexNoises_Int.h \
    Components/Effects/kbRGB_Int/kbRGB_Angle_Int.h \
    Components/Effects/kbRGB_Int/kbRGB_Int.h \
    Components/Effects/kbRGB_Int/kbRGB_XY2Angle.h \
    Components/LCD/lcd.h \
    Components/Thread/rgb_thread.h \
    Components/Thread/rgb_thread_keyboard.h \
    Components/Thread/rgb_thread_matrix.h \
    Components/UGUI/ugui.h \
    Components/UGUI/ugui_config.h \
    Components/cledMatrix/crgbMatrix.h \
    Components/mThread/mThread.h \
    Dependencies/SimplexNoise/src/SimplexNoise.h \
    UI/formlcd.h \
    UI/formmasks.h \
    UI/formslave.h \
    mainwindow.h

FORMS += \
    UI/formlcd.ui \
    UI/formmasks.ui \
    UI/formslave.ui \
    mainwindow.ui

TRANSLATIONS += \
    SimulateLCD_zh_CN.ts
CONFIG += lrelease
CONFIG += embed_translations

#头文件路径
INCLUDEPATH += $$_PRO_FILE_PWD_/UI
#INCLUDEPATH += $$_PRO_FILE_PWD_/lcd
#INCLUDEPATH += $$_PRO_FILE_PWD_/lvgl
INCLUDEPATH += $$_PRO_FILE_PWD_/Components
INCLUDEPATH += $$_PRO_FILE_PWD_/Components/Curve
#INCLUDEPATH += $$_PRO_FILE_PWD_/Components/Effects
INCLUDEPATH += $$_PRO_FILE_PWD_/Dependencies
#INCLUDEPATH += $$_PRO_FILE_PWD_/Components/UGUI
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
